﻿using AhCha.Fortunate.Entity.DaMeng;
using AhCha.Fortunate.ModelsDto;
using AhCha.Fortunate.ModelsDto.DaMeng.ApiExceptionLog;

namespace AhCha.Fortunate.IService.DaMeng
{
    public interface IApiExceptionLogService : IBaseServices<ApiExceptionLog>
    {
        /// <summary>
        /// 异常记录日志
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task AddApiExceptionLog(ApiExceptionLogInput input);


        /// <summary>
        /// 异常记录日志数据
        /// </summary>
        /// <param name="inpput"></param>
        /// <returns></returns>
        Task<SqlSugarPagedList<ApiExceptionLogOutput>> GetApiExceptionLogPage(QueryApiExceptionLogInpput input);
    }
}
